#pragma once
#include "event/MessengerEventBase.h"
#include "Input.h"



class Event_DK_Control_Changed : public Boon::MessengerEventBase
{
public:
	static const Boon::EventType			ID = 0x64fa3a2f;

	Event_DK_Control_Changed()
		: Boon::MessengerEventBase(), m_Attack( nullptr )
	{
		Boon::Input& input = Boon::Input::GetInstance();
		input.AddCommand( "DK_Attack", Boon::KEY_RSHIFT, &m_Attack );
	}

	virtual const Boon::EventType			GetEventID() const
	{
		return ID;
	}

	virtual void							Serialize( std::ostream& out ) const
	{
		throw std::exception("The method or operation is not implemented.");
	}

	virtual Boon::IMessengerEventStrong		Copy() const
	{
		return new Event_DK_Control_Changed();
	}

	virtual const char*						GetName() const
	{
		return "Event_DK_Control_Changed";
	}


	Boon::Command*				m_Attack;
};